package edu.whu.rose.clock.kps.algorithm.blinks.index;

import edu.whu.rose.clock.kps.algorithm.banks1.SPVertex;

public class GroupSPVertex extends SPVertex {

	private int source;
	
	public GroupSPVertex(int id, double distance, int source) {
		super(id, distance);
		this.source = source;
	}
	
	public GroupSPVertex(int id, double distance, int predecessor, int source) {
		super(id, distance, predecessor);
		this.source = source;
	}

	public int getSource() {
		return source;
	}

	public void setSource(int source) {
		this.source = source;
	}
	
}
